Skip to content

Add Player Dpad Up/Down button configuration setting - #382

Merged
ahXN00 merged 1 commit into
ahXN00:mainfrom
Pax24fr:feature/player-dpad-updown
Nov 21, 2026
Merged

ahXN00 merged 1 commit into
ahXN00:mainfrom
Pax24fr:feature/player-dpad-updown

Conversation

@Pax24fr

@Pax24fr Pax24fr commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Before you open this PR (required)

  • I read the User Guide and checked the app's Settings and existing functions — this change isn't already possible in the app.
  • I searched existing issues/PRs and this isn't a duplicate.

What does this PR do?

Adds a new configurable setting under Settings › Remote shortcuts › Player buttons (dpadUpDown) allowing users to choose the behavior of the D-pad Up and Down arrows during full-screen live playback while controls are hidden:

  1. Zap channels (Default): D-pad Up goes to the next channel and Down to the previous channel (preserves existing default behavior).
  2. Down: Controls, Up: History: D-pad Down reveals the player controls (HUD) and D-pad Up opens the Recently Watched history overlay.
  3. Disabled: Swallowing D-pad Up/Down when controls are hidden to prevent accidental channel changes.

Which issue / improvement does it address?

Improves D-pad navigation ergonomically on full-screen live playback. On remotes equipped with dedicated CH+/CH− keys (or for users who accidentally trigger zapping when attempting to open controls or history), having D-pad Up/Down strictly perform zapping can lead to unintended channel switches. This option allows users to reassign D-pad Down to reveal playback controls and D-pad Up to open history (not present in other options as OK when controls are hidden / Hold Ok in the player), or disable D-pad zapping entirely while dedicated CH+/CH− keys continue to work normally.

How was it tested?

  • Device(s) tested on: Chromecast with Google TV / TCL Android TV
  • What you exercised:
    • Exercised full-screen live TV playback across all three D-pad Up/Down modes (ZAP, CONTROLS_AND_HISTORY, DISABLED).
    • Verified D-pad Down reveals controls and D-pad Up opens Recently Watched history in CONTROLS_AND_HISTORY mode.
    • Confirmed CH+/CH− keys and media next/prev keys continue to zap independently.
    • Verified setting persistence in Settings › Remote shortcuts › Player buttons.

Checklist

  • Builds locally (./gradlew assembleDebug) and CI is green
  • Tested on a real Android TV / Fire TV device (not emulator only) — D-pad/remote navigation works
  • No user data is wiped (Room migrations stay additive)
  • Keeps OwnTV player-only (no bundled channels/content)
  • Commit messages are clear (they become the release notes)

@Pax24fr

Pax24fr commented Nov 20, 2026

Copy link
Copy Markdown
Contributor Author

You should need to add this to tools/i18n/safe_literals.txt :
1 technical app/src/main/java/tv/own/owntv/features/settings/PlayerButtonsSettingsScreen.kt pb_dpad_up_down

@WolfganP

Copy link
Copy Markdown

Thx a lot for this PR. Current D-pad navigation on full screen is one behavior that makes me crazy as it's counter intuitive on how it behaves on live TV vs movies/series, even other official player apps (I always end up having to return to prev channel and then think on what I wanted to do).

@ahXN00 ahXN00 self-assigned this Nov 21, 2026
ahXN00 added a commit to ahXN00/OwnTV_Core that referenced this pull request Nov 21, 2026
core-1.0.72 lists the new Player buttons option (PlayerDpadUpDownAction), credited to the contributor of ahXN00/OwnTV#382. Verified: ./gradlew build, i18n gates, test_i18n_tools.
@ahXN00
ahXN00 merged commit 12ca646 into ahXN00:main Nov 21, 2026
1 check passed
ahXN00 added a commit that referenced this pull request Nov 21, 2026
Changelog, User Guide and product brief for the Phase 2 work:
- Player buttons: D-pad Up/Down (Change channel / Controls and recently watched / Off), merged from PR #382.
- Home: hold OK or Menu on a trending poster opens its menu, merged from PR #386.
- Downloads opens on Recordings (#384).
- Search picked on the rail keeps focus on the rail; Keep watching focus follows what was just watched.

Tested on the TCL G10 (release build): every D-pad choice with CH+/CH- unchanged, the trending menu by held OK and Menu, Downloads, Search from the rail, the remote's Search key and Go to, Keep watching after watching a channel. Gates: assembleDebug, lintStandardDebug, literal check.

Merges #382
Merges #386
Closes #384
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants